package com.smartleanx.module.hrm.service.esign.temp.po;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 员工合同填写字段
 *
 * @author xzq
 * @since 2025-07-22 10:54:04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "HrmEEmpComponents对象", description = "员工合同填写字段")
@TableName("hrm_e_emp_components")
public class HrmEEmpComponents implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty(value = "数据状态 0/删除 1/正常")
    @TableField(value = "data_status", fill = FieldFill.INSERT)
    private Integer dataStatus;

    @ApiModelProperty(value = "租户id")
    @TableField("tenant_id")
    private Long tenantId;

    @ApiModelProperty(value = "创建者")
    @TableField(value = "create_user", fill = FieldFill.INSERT)
    private Long createUser;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "修改者")
    @TableField(value = "update_user", fill = FieldFill.UPDATE)
    private Long updateUser;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "控件名称")
    @TableField("component_name")
    private String componentName;

    @ApiModelProperty(value = "控件类型")
    @TableField("component_type")
    private Integer componentType;

    @ApiModelProperty(value = "排序字段")
    @TableField("sort_no")
    private Integer sortNo;

    @ApiModelProperty(value = "表头级别")
    @TableField("column_no")
    private Integer columnNo;

    @ApiModelProperty(value = "父级表头")
    @TableField("column_parent")
    private Long columnParent;

    @ApiModelProperty(value = "唯一值")
    @TableField("column_code")
    private String columnCode;

    @Schema(description = "是否必填")
    @TableField("required")
    private Integer required;

    @Schema(description = "是否可修改")
    @TableField("fill_in_update")
    private Integer fillInUpdate;
}
